﻿using System;

namespace MessagePack.Decoders
{
	// Token: 0x02000098 RID: 152
	internal class Int8Int16 : IInt16Decoder
	{
		// Token: 0x0600027B RID: 635 RVA: 0x0000B5F7 File Offset: 0x000099F7
		private Int8Int16()
		{
		}

		// Token: 0x0600027C RID: 636 RVA: 0x0000B5FF File Offset: 0x000099FF
		public short Read(byte[] bytes, int offset, out int readSize)
		{
			readSize = 2;
			return (short)((sbyte)bytes[offset + 1]);
		}

		// Token: 0x040000BB RID: 187
		internal static readonly IInt16Decoder Instance = new Int8Int16();
	}
}
